package com.zmxstudy.rbac.entity;

public class RoleAuth {
    private int roleId;
    private int authId;
    private String roleName;
    private String authName;

    public RoleAuth(int roleId, int authId, String roleName, String authName) {
        this.roleId = roleId;
        this.authId = authId;
        this.roleName = roleName;
        this.authName = authName;
    }

    public int getRoleId() {
        return roleId;
    }

    public void setRoleId(int roleId) {
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "RoleAuth{" +
                "roleId=" + roleId +
                ", authId=" + authId +
                ", roleName='" + roleName + '\'' +
                ", authName='" + authName + '\'' +
                '}';
    }

    public int getAuthId() {
        return authId;
    }

    public void setAuthId(int authId) {
        this.authId = authId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName;
    }
}
